<template>
  <el-container class="main-container">
    <el-aside width="200px">
      <AppAside />
    </el-aside>
    <el-container>
      <el-header>
        <AppHeader />
      </el-header>
      <el-main>
        <RouterView />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import { AppHeader, AppAside } from 'components'
export default {
  name: 'Main',
  components: {
    AppHeader,
    AppAside
  }
}
</script>

<style lang="less" scoped>
.main-container {
  height: 100vh;
}
</style>
